package org.jeecg.modules.outbound.service;

import org.jeecg.modules.outbound.entity.BussOutboundOrderDetail;
import org.jeecg.modules.outbound.entity.BussOutboundOrderInformation;
import org.jeecg.modules.outbound.entity.BussOutboundOrderManagement;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.outbound.vo.BussOutboundOrderDetailVo;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 出库单管理
 * @Author: jeecg-boot
 * @Date:   2024-06-18
 * @Version: V1.0
 */
public interface IBussOutboundOrderManagementService extends IService<BussOutboundOrderManagement> {

	/**
	 * 添加一对多
	 *
	 * @param bussOutboundOrderManagement
	 * @param bussOutboundOrderInformationList
	 * @param outboundOrderDetailList
	 */
	public void saveMain(BussOutboundOrderManagement bussOutboundOrderManagement,List<BussOutboundOrderInformation> bussOutboundOrderInformationList,List<BussOutboundOrderDetailVo> outboundOrderDetailList) ;
	
	/**
	 * 修改一对多
	 *
   * @param bussOutboundOrderManagement
   * @param bussOutboundOrderInformationList
   * @param outboundOrderDetailList
	 */
	public void updateMain(BussOutboundOrderManagement bussOutboundOrderManagement,List<BussOutboundOrderInformation> bussOutboundOrderInformationList,List<BussOutboundOrderDetailVo> outboundOrderDetailList);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);

	public BussOutboundOrderManagement selectForPrint(String id);

	public void revokeBatch(Collection<? extends Serializable> idList);
	
}
